package com.xiezc.dao;

import com.xiezc.entity.Story;

import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * author: Administrator
 * createTime: 2017/9/15 0015 下午 23:36
 */
public interface StoryRepository extends CrudRepository<Story, Integer> {

    List<Story> findByUrl(String url);

    List<Story> findById(int id);
}

